
import java.awt.image.BufferedImage;
import java.util.ArrayList;
import java.util.Random;

public class EntityPassiveNPC extends Entity {

    ArrayList<String> phrases = new ArrayList<String>();

    EntityPassiveNPC(double x, double y, int health, BufferedImage img) {
        super(x, y, health, img);
    }

    @Override
    public boolean isNPC() {
        return true;
    }

    public String talk(){
        Random r = new Random();
        return phrases.get(r.nextInt(phrases.size()));
    }


}
